/* eslint-disable*/
const func1 = function testA() {
  return 'testA';
};

const func2 = function () {
  return 'not named';
};

const func3 = () => 'arrow function';

export function functionNameTest() {
  console.log(func1());
  console.log(func2());
  console.log(func3());

  console.log(func1.name);
  console.log(func2.name);
  console.log(func3.name);

  console.log(typeof func1);
  console.log(typeof func2);
  console.log(typeof func3);

  if(typeof(func1) === 'function'){
      console.log(func1());
  }

}
